class Employee:
    '所有员工的基类'
    empCount=0
    def __init__(self,name,salary):
        self.name=name
        self.salary=salary
        Employee.empCount+=1
    
    def displayCount(self):
        print("Total Employee {}".format(Employee.empCount))
    
    def displayEmployee(self):
        print("Name:",self.name,", Salary: ",self.salary)
"创建Employee类的第一个对象"
emp1 = Employee("Zara", 2000)
print("Total Employee {}".format(Employee.empCount))
"创建Employee类的第二个对象"
emp2 = Employee("Manni", 5000)
emp1.displayEmployee()
emp2.displayEmployee()
print("Total Employee {}".format(Employee.empCount))